home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 72 / MOBICLIC 72.ISO / mac / Xtras / SPECIAL XTRAS / PrintOMatic MX / PrintOMatic MX.rsrc / TEXT_128_PrintOMatic MX Message Table.txt < prev    next >
Text File  |  2004-04-07  |  3KB  |  82 lines

  1. xtra PrintOMatic
  2. --
  3. -- PrintOMatic MX
  4. -- Copyright 1994-2004 Electronic Ink
  5. --
  6. -- CREATE/DESTROY/RESET A DOCUMENT
  7. new object
  8. forget object
  9. reset object
  10. --
  11. -- DOCUMENT/JOB SETUP
  12. doPageSetup object          -- returns TRUE or FALSE
  13. doJobSetup object          -- returns TRUE or FALSE
  14. --
  15. -- DOCUMENT ATTRIBUTES
  16. setDocumentName object, string name
  17. setLandscapeMode object, boolean landscape
  18. getLandscapeMode object  -- returns TRUE or FALSE
  19. setMargins object, rect margins
  20. getMargins object        -- returns margins in Rect form
  21. setPrintableMargins object
  22. getPageWidth object      -- returns page width
  23. getPageHeight object     -- returns page height
  24. getPaperWidth object     -- returns paper width
  25. getPaperHeight object    -- returns paper height
  26. --
  27. -- CREATE/SET PAGES
  28. newPage object           -- returns page number
  29. setPage object, int pageNumber
  30. --
  31. -- TEXT/GRAPHIC ATTRIBUTES
  32. setTextFont object, string fontName -- returns TRUE if font was set
  33. setTextSize object, int pointSize
  34. setTextStyle object, string styleCodes
  35. setTextJust object, string justification
  36. setTextLineSpacing object, int spacing
  37. setColor object, int red, int green, int blue
  38. setGray object, int graylevel
  39. setLineWeight object, int pointSize
  40. --
  41. -- GRAPHIC ELEMENTS
  42. drawRect object, rect bounds, boolean filled
  43. drawLine object, point start, point end
  44. drawRoundRect object, rect bounds, int cornerRadius, boolean filled
  45. drawOval object, rect bounds, boolean filled
  46. drawText object, string text, point location
  47. drawPicture object, *      -- castmem or fileName, location (point or rect)
  48. drawStagePicture object, * -- location (point or rect), stage portion (rect), grabOffscreen (boolean)
  49. --
  50. -- CREATE FRAMES AND APPEND CONTENTS
  51. newFrame object, rect bounds, boolean linkedToPrevious
  52. append object, * any             -- returns number of text characters appended
  53. appendFile object, * fileName    -- returns number of text characters appended
  54. getInsertionPoint object         -- returns string ΓÇ£page, x, yΓÇ¥
  55. pageBreak object                 -- breaks the current column/page
  56. --
  57. -- CUSTOMIZE THE PROGRESS BOX
  58. setProgressMsg object, string message
  59. setProgressPict object, * pictCastMember
  60. setProgressLoc object, point location
  61. clearProgressLoc object
  62. --
  63. -- PRINT OR PREVIEW
  64. * printPreview *    -- returns TRUE or FALSE
  65. * print *           -- returns TRUE or FALSE
  66. * printStage *
  67. --
  68. -- MISCELLANEOUS
  69. hideMessages object, boolean hide
  70. setPageNumSymbol object, string symbol
  71. + getVersion object -- returns version number
  72. + register object, string serialNumber -- returns TRUE or FALSE
  73. + setLowMemLimits object, globalHeap, localHeap
  74. --
  75. -- MACINTOSH-ONLY ROUTINES
  76. * printToPictFiles *    -- returns TRUE or FALSE
  77.  
  78. draw1bitStagePicture object, * -- location (point or rect), stage portion (rect), grabOffscreen (boolean)
  79. loadPageSetup object, string fileName, int resourceID -- returns TRUE or FALSE
  80.  
  81. savePageSetup object, string fileName, string fileType, string fileCreator, int resourceID -- returns TRUE or FALSE
  82.